package com.owc.domain.vo.app;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author Jackies
 * @Date 2019/12/5 21:18
 * @Description TODO://
 **/
@Data
public class TransferVo implements Serializable {
    /**
     * 转账地址
     */
    @NotNull(message = "Please enter the payment address ")
    private String toAddress;
    /**
     * 交易金额
     */
    @NotNull(message = "Please enter transaction amount")
    private BigDecimal amount;
    /**
     * 交易密码
     */
    @NotNull(message = "Please enter payment password")
    private String payPassword;
    /**
     * 手续费
     */
    private BigDecimal handlingFee;
    /**
     * 总支出
     */
    private BigDecimal totalPay;
    /**
     * 代币ID
     */
    @NotNull(message = "Please enter the token type")
    private Long tokenId;


}
